package com.mtsmda.chapter3.overridingEx;

public class VarArgEx {
	
	public static void main(String[] args) {
		
		int v = 5;
		go(v,v);
		
		long b = 15;
		go(b, b);
		go(b);
		
	}
	
	static void go(int one, int two){
		System.out.println("int, int");
	}
	
	static void go(int ...is){
		System.out.println("int ... ");
	}
	
	static void go(Long a, Long b){
		System.out.println("Long, Long");
	}
	
	static void go(Long ...longs){
		System.out.println("Long ... ");
	}
	
}